package com.ecoolex.ying.space.pojo;

import com.ecoolex.framework.common.annotation.Description;
import org.springframework.lang.NonNull;

import java.math.BigDecimal;

public class EditPickGoodsDTO {

    @Description({"商品名称"})
    @NonNull
    private String name;

    @Description({"分类Id"})
    private Integer classifyId;

    @Description({"标签Id列表"})
    private String[] labelIds;

    @Description({"商品编码"})
    private String coded;

    @Description({"专柜价格"})
    private BigDecimal counterPrice;

    @Description({"零售价格"})
    private BigDecimal retailPrice;

    @Description({"价格币种"})
    private String currencyType;

    @Description({"封面图"})
    private String image;

    @Description({"橱窗图片列表"})
    private String[] shopwindowImages;

    @Description({"来源: 0/null:无 1: 严选"})
    private Integer source;

    @Description({"商品详情"})
    private String detail;

    @Description({"商品参数"})
    private EditPickGoodsParametersDTO parameters;

    @NonNull
    public String getName() {
        return name;
    }

    public String getCoded() {
        return coded;
    }

    public EditPickGoodsDTO setCoded(String coded) {
        this.coded = coded;
        return this;
    }

    public EditPickGoodsDTO setName(@NonNull String name) {
        this.name = name;
        return this;
    }

    public Integer getClassifyId() {
        return classifyId;
    }

    public EditPickGoodsDTO setClassifyId(Integer classifyId) {
        this.classifyId = classifyId;
        return this;
    }

    public String[] getLabelIds() {
        return labelIds;
    }

    public EditPickGoodsDTO setLabelIds(String[] labelIds) {
        this.labelIds = labelIds;
        return this;
    }

    public BigDecimal getCounterPrice() {
        return counterPrice;
    }

    public EditPickGoodsDTO setCounterPrice(BigDecimal counterPrice) {
        this.counterPrice = counterPrice;
        return this;
    }

    public BigDecimal getRetailPrice() {
        return retailPrice;
    }

    public EditPickGoodsDTO setRetailPrice(BigDecimal retailPrice) {
        this.retailPrice = retailPrice;
        return this;
    }

    public String getCurrencyType() {
        return currencyType;
    }

    public EditPickGoodsDTO setCurrencyType(String currencyType) {
        this.currencyType = currencyType;
        return this;
    }

    public String getImage() {
        return image;
    }

    public EditPickGoodsDTO setImage(String image) {
        this.image = image;
        return this;
    }

    public String[] getShopwindowImages() {
        return shopwindowImages;
    }

    public EditPickGoodsDTO setShopwindowImages(String[] shopwindowImages) {
        this.shopwindowImages = shopwindowImages;
        return this;
    }

    public Integer getSource() {
        return source;
    }

    public EditPickGoodsDTO setSource(Integer source) {
        this.source = source;
        return this;
    }

    public String getDetail() {
        return detail;
    }

    public EditPickGoodsDTO setDetail(String detail) {
        this.detail = detail;
        return this;
    }

    public EditPickGoodsParametersDTO getParameters() {
        return parameters;
    }

    public EditPickGoodsDTO setParameters(EditPickGoodsParametersDTO parameters) {
        this.parameters = parameters;
        return this;
    }
}
